home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr38 / mpik.zip / TUTOR3.MP < prev    next >
Text File  |  1993-06-19  |  834b  |  30 lines

  1. ! tutor3.mp - perform Tutorial 3, page 58 of the PIK'r User's Manual
  2. !
  3. ! To run this macro, type:
  4. !
  5. !   mpik'r @tutor3
  6. !
  7. In
  8.   Flt    tutor3.dat -1        ! get Flat (ASCII) file tutor3.dat
  9.   End
  10.   Home
  11.   Esc
  12. Cmark    1 8 28 36 44 52 60 68 76 84 92 100 108 116 
  13. Pst    0 5 121 16 R        ! paste rows from "CORPID" through "TOTAL"
  14.  
  15. Cwidth    0 13 0            ! set all column widths to widest cell...
  16. Cwidth    0 13 1 R        ! then increment them by one
  17. Cut
  18.   Del    1 0 1 11        ! delete "COMPANY NAME" column
  19.   Del    0 1 12 1        ! delete row of dashes
  20.   Esc
  21. Exe    out wks 0 0 12 8 t3    ! save all detail rows to WKS file t3.wks...
  22. Cut
  23.   Del    0 1 12 9        ! and then delete them
  24.   Home
  25.   Del    0 0 0 0            ! delete  "CORPID"
  26.   Mov    T 0 0 12 1  0 0        ! transpose month names and totals...
  27.   Esc
  28. Exe    out flt 0 0 1 12 t3    ! and save them to Flat (ASCII) file t3.flt
  29. Xit
  30.